'''
Created on Dec 5, 2010

@author: Wd
'''

fibbo = [1,1,3,5,8,13,21,34]

data = fibbo + [5,1,2,3,4]

baddata = [255,255,255] + data


def correctIntroduction(data):
    return fibbo == data[0:len(fibbo)]

def getData(data):
    while len(data) > len(fibbo):
        if correctIntroduction(data):
            return data[len(fibbo):]
        else:
            del data[0]
        
print( getData(data))
print( getData(data))